\section{nmat\_\-ec.h File Reference}
\label{nmat__ec_8h}\index{nmat\_\-ec.h@{nmat\_\-ec.h}}


Header file con macro per la gestione degli errori.  
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define {\bf EC\_\-NULL\_\-M1}(s)~if((s) == NULL) \{return -\/1;\}
\item 
\#define {\bf EC\_\-NULL\_\-P}(s, m)~if ((s) == NULL) \{perror(m); return -\/1;\}
\item 
\#define {\bf EC\_\-NULL\_\-F}(s, f)~if ((s) == NULL) \{f; return -\/1;\}
\item 
\#define {\bf EC\_\-NULL\_\-E}(s, m)~if ((s) == NULL) \{perror(m); exit(EXIT\_\-FAILURE);\}
\item 
\#define {\bf EC\_\-M1}(s)~if ((s) == -\/1) \{return -\/1;\}
\item 
\#define {\bf EC\_\-M1\_\-P}(s, m)~if ((s) == -\/1) \{perror(m); return -\/1;\}
\item 
\#define {\bf EC\_\-M1\_\-F}(s, f)~if ((s) == -\/1) \{f; return -\/1;\}
\item 
\#define {\bf EC\_\-M1\_\-E}(s, m)~if((s) == -\/1) \{perror(m); exit(EXIT\_\-FAILURE);\}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Header file con macro per la gestione degli errori. \doxyref{nmat\_\-ec.h}{p.}{nmat__ec_8h}

\begin{DoxyAuthor}{Author}
Marco Luisi 
\end{DoxyAuthor}


\subsection{Define Documentation}
\index{nmat\_\-ec.h@{nmat\_\-ec.h}!EC\_\-M1@{EC\_\-M1}}
\index{EC\_\-M1@{EC\_\-M1}!nmat_ec.h@{nmat\_\-ec.h}}
\subsubsection[{EC\_\-M1}]{\setlength{\rightskip}{0pt plus 5cm}\#define EC\_\-M1(s)~if ((s) == -\/1) \{return -\/1;\}}\label{nmat__ec_8h_adaea2604dc24bb143b14111b755841f2}
Se s è -\/1, restituisce -\/1. \index{nmat\_\-ec.h@{nmat\_\-ec.h}!EC\_\-M1\_\-E@{EC\_\-M1\_\-E}}
\index{EC\_\-M1\_\-E@{EC\_\-M1\_\-E}!nmat_ec.h@{nmat\_\-ec.h}}
\subsubsection[{EC\_\-M1\_\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define EC\_\-M1\_\-E(s, \/  m)~if((s) == -\/1) \{perror(m); exit(EXIT\_\-FAILURE);\}}\label{nmat__ec_8h_ae6d950ce6825b3449e147e97323899bb}
Se s è -\/1, stampa messaggio d'errore ed esce. \index{nmat\_\-ec.h@{nmat\_\-ec.h}!EC\_\-M1\_\-F@{EC\_\-M1\_\-F}}
\index{EC\_\-M1\_\-F@{EC\_\-M1\_\-F}!nmat_ec.h@{nmat\_\-ec.h}}
\subsubsection[{EC\_\-M1\_\-F}]{\setlength{\rightskip}{0pt plus 5cm}\#define EC\_\-M1\_\-F(s, \/  f)~if ((s) == -\/1) \{f; return -\/1;\}}\label{nmat__ec_8h_a167ed30c61942924ab4f112ef3abbf14}
Se s è -\/1, esegue f e restituisce -\/1. \index{nmat\_\-ec.h@{nmat\_\-ec.h}!EC\_\-M1\_\-P@{EC\_\-M1\_\-P}}
\index{EC\_\-M1\_\-P@{EC\_\-M1\_\-P}!nmat_ec.h@{nmat\_\-ec.h}}
\subsubsection[{EC\_\-M1\_\-P}]{\setlength{\rightskip}{0pt plus 5cm}\#define EC\_\-M1\_\-P(s, \/  m)~if ((s) == -\/1) \{perror(m); return -\/1;\}}\label{nmat__ec_8h_a31deff52994384c31e713003294fa727}
Se s è -\/1, stampa messaggio d'errore e restituisce -\/1. \index{nmat\_\-ec.h@{nmat\_\-ec.h}!EC\_\-NULL\_\-E@{EC\_\-NULL\_\-E}}
\index{EC\_\-NULL\_\-E@{EC\_\-NULL\_\-E}!nmat_ec.h@{nmat\_\-ec.h}}
\subsubsection[{EC\_\-NULL\_\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define EC\_\-NULL\_\-E(s, \/  m)~if ((s) == NULL) \{perror(m); exit(EXIT\_\-FAILURE);\}}\label{nmat__ec_8h_a0b17fb0f8f6d43c81f7b7e77c10ad1ea}
Se s è NULL, stampa messaggio d'errore ed esce. \index{nmat\_\-ec.h@{nmat\_\-ec.h}!EC\_\-NULL\_\-F@{EC\_\-NULL\_\-F}}
\index{EC\_\-NULL\_\-F@{EC\_\-NULL\_\-F}!nmat_ec.h@{nmat\_\-ec.h}}
\subsubsection[{EC\_\-NULL\_\-F}]{\setlength{\rightskip}{0pt plus 5cm}\#define EC\_\-NULL\_\-F(s, \/  f)~if ((s) == NULL) \{f; return -\/1;\}}\label{nmat__ec_8h_af31c71883bb981cd13ebb4a1d5945449}
Se s è NULL, esegue f e poi restituisce -\/1 \index{nmat\_\-ec.h@{nmat\_\-ec.h}!EC\_\-NULL\_\-M1@{EC\_\-NULL\_\-M1}}
\index{EC\_\-NULL\_\-M1@{EC\_\-NULL\_\-M1}!nmat_ec.h@{nmat\_\-ec.h}}
\subsubsection[{EC\_\-NULL\_\-M1}]{\setlength{\rightskip}{0pt plus 5cm}\#define EC\_\-NULL\_\-M1(s)~if((s) == NULL) \{return -\/1;\}}\label{nmat__ec_8h_a4d79235ad878a55fe2f76df64e8849ee}
Se s è NULL, restituisce -\/1 \index{nmat\_\-ec.h@{nmat\_\-ec.h}!EC\_\-NULL\_\-P@{EC\_\-NULL\_\-P}}
\index{EC\_\-NULL\_\-P@{EC\_\-NULL\_\-P}!nmat_ec.h@{nmat\_\-ec.h}}
\subsubsection[{EC\_\-NULL\_\-P}]{\setlength{\rightskip}{0pt plus 5cm}\#define EC\_\-NULL\_\-P(s, \/  m)~if ((s) == NULL) \{perror(m); return -\/1;\}}\label{nmat__ec_8h_a37aa4fe676adce2e223dc07b8600a0cf}
Se s è NULL, stampa un messaggio d'errore e restituisce -\/1. 